package views
{
	import flash.media.Video;
	
	import spark.core.SpriteVisualElement;
	
	public class FlexVideo extends SpriteVisualElement
	{
		public var video:Video;
		public function FlexVideo()
		{
			super();
			video = new Video();
			addChild(video);
			width = video.width;
			height = video.height;
		}
		override public function set width(value:Number):void{
			super.width = value;
			video.width = value;
		}
		override public function set height(value:Number):void{
			super.height = value;
			video.height = value;
		}
	}
}